﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.IO.Ports;
using Szakdolgozat.Screens;
using Npgsql;

namespace Szakdolgozat
{
    /// <summary>
    /// Interaction logic for Window1.xaml
    /// </summary>
    public partial class MainWindow : Window
    {

        IController controller = new Controller();

        public MainWindow()
        {
            InitializeComponent();
        }

        // property 
        public IController Controller { get { return controller; } }

        // így a program betöltésével a Self Check ablakra ugrik először
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            this.contentControl1.Content = new SelfCheckView(this);
        }

               
       

    }
}
